package com.ruoyi.elebook.mapper;

import com.ruoyi.elebook.domain.BookCatalogScope;

import java.util.List;

/**
 * 目录范围Mapper接口
 * 
 * @author ruoyi
 * @date 2023-12-11
 */
public interface BookCatalogScopeMapper 
{
    /**
     * 查询目录范围
     * 
     * @param id 目录范围主键
     * @return 目录范围
     */
    public BookCatalogScope selectBookCatalogScopeById(Long id);

    /**
     * 查询目录范围列表
     * 
     * @param bookCatalogScope 目录范围
     * @return 目录范围集合
     */
    public List<BookCatalogScope> selectBookCatalogScopeList(BookCatalogScope bookCatalogScope);

    /**
     * 新增目录范围
     * 
     * @param bookCatalogScope 目录范围
     * @return 结果
     */
    public int insertBookCatalogScope(BookCatalogScope bookCatalogScope);

    /**
     * 修改目录范围
     * 
     * @param bookCatalogScope 目录范围
     * @return 结果
     */
    public int updateBookCatalogScope(BookCatalogScope bookCatalogScope);

    /**
     * 删除目录范围
     * 
     * @param id 目录范围主键
     * @return 结果
     */
    public int deleteBookCatalogScopeById(Long id);

    /**
     * 批量删除目录范围
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBookCatalogScopeByIds(Long[] ids);
}
